package com.hmc.test.cloneableTest.SerializationClone;

public class Student {
    private String name;
    private String sex;
    private StringBuffer birthday;

    public Student(String name, String sex, StringBuffer birthday) {
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public StringBuffer getBirthday() {
        return birthday;
    }

    public void setBirthday(StringBuffer birthday) {
        this.birthday = birthday;
    }


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                '}';
    }
}
